home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Goodies / I-WAR 2 Egde of Chaos - New SDK / IW2-EOC_Pog_Scripting_SDK.exe / include / Text.h < prev   
C/C++ Source or Header  |  2002-01-14  |  985b  |  54 lines

  1. //
  2. // (c) 1999 Particle Systems Ltd. All Rights Reserved
  3. //
  4. // Text.h
  5. //
  6. // API for the package Text.
  7. //
  8. // Revision control information:
  9. //
  10. // $Header: /flux/packages/Text.h 2     11/06/00 11:24 Derekm $
  11. //
  12.  
  13. #include "Flux.h"
  14.  
  15. #ifdef FLUX_COMPILE
  16.  
  17. FLUX_DECLARE_EXTENSION(Text);
  18.  
  19. #ifdef FLUX_LIB
  20. #if _MSC_VER >= 1000
  21. #pragma comment( lib, "text" )
  22. #endif // _MSC_VER >= 1000
  23. #endif // FLUX_LIB
  24.  
  25. #else
  26.  
  27. uses String;
  28.  
  29. // Field enumeration
  30. enum eFieldType { FT_Text, FT_Wav };
  31.  
  32. //
  33. // Text.Add( string filename )
  34. //
  35. // Add a file to the localised text system
  36. //
  37. prototype Text.Add( string filename );
  38.  
  39. //
  40. // Text.Remove( string filename )
  41. //
  42. // Remove a file from the localised text system
  43. //
  44. prototype Text.Remove( string filename );
  45.  
  46. //
  47. // string Text.Field( string key, eFields field )
  48. //
  49. // Access a field for this key in the localised text system
  50. //
  51. prototype string Text.Field( string key, eFieldType field );
  52.  
  53. #endif // FLUX_LIB
  54.